<?php
foreach ($currTree as $v){ ?>
    <li>
        <span style="<?php echo $v['sex']=='女'?'color:#ff1493':'' ?>"><i class="icon-minus-sign"></i><?php echo $v["name"] ?></span>
        <a href='/Admin/Member/Edit?id=<?php echo $v["id"] ?>' target='_blank'>编辑详细</a>&nbsp;
        <a href='/Admin/Member/Add' target='_blank'>添加</a>
        <?php echo "第".$v["dc"]."代," ?><span style="color: #3e8e41"><?php echo $v["zibei"] ?></span>字辈
        <ul>
            <?php W('Tree',['currTree'=>isset($list[$v["id"]])?$list[$v["id"]]:[],'list'=>$list,'tpl'=>'AdminTreeWidget']);?>
        </ul>
    </li>
<?php } ?>
